<script>
	export let count = 5;
</script>

<p>组件递归自己</p>
{#if count > 0}
	<p>counting down... {count}</p>
	<svelte:self count={count - 1} />
{:else}
	<p>lift-off!</p>
{/if}
